package com.gzucm.Scholarship.dao;

import com.gzucm.Scholarship.common.base.BaseDao;
import com.gzucm.Scholarship.entity.Student;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface StudentDao extends BaseDao<Student, String> {

    List<Student> findByNumberStartsWith(String year);

    Student findByIdCard(String idCard);

    Student findByNumber(String number);

}
